//  #ifdef H5
import { createClient } from '@supabase/supabase-js'
// #endif
// #ifdef MP-WEIXIN
import { createClient } from 'supabase-wechat-stable-v2'
// #endif
// export  const url = 'https://cniir225g6h7r658rj6g.baseapi.memfiredb.com';
// export  const key = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImV4cCI6MzI4NjMxODIxNiwiaWF0IjoxNzA5NTE4MjE2LCJpc3MiOiJzdXBhYmFzZSJ9.EZYJ36uPX0omT1FXdhZMxkDwxvv3UheVcD1edjjNTbA'
// 本地环境
const url = "http://172.31.96.216:8000";
const key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ewogICJyb2xlIjogImFub24iLAogICJpc3MiOiAic3VwYWJhc2UiLAogICJpYXQiOiAxNzEwNDMyMDAwLAogICJleHAiOiAxODY4MTk4NDAwCn0.YDiV8rdoQ2E1r0lRxN0f0ozykSuAEtKYTjRbcZAnGv8";
export const supabase = createClient(url, key);

export const imgUrl = `${url}/storage/v1/object/public/`